<?php

 namespace com;

include "com/funcs/add.php";
$p=new class extends  funcs\abc\BB{
    function echoPI(){
        echo"3.1415";
    }
};
$p->echoPI();